package com.smallprogram.www.model;

import java.time.LocalDateTime;
import com.smallprogram.www.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author hj
 * @since 2020-10-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Ordered extends BaseEntity {

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 订购数量
     */
    private Integer numbers;

    /**
     * 支付金额
     */
    private Double amount;

    /**
     * 微信，支付宝，银联，其它
     */
    private String payWay;

    /**
     * -1待支付0已支付1退款
     */
    private Integer payState;

    /**
     * 更新数据时间
     */
    private LocalDateTime updateTime;

    /**
     * 插入数据时间
     */
    private LocalDateTime createTime;

    /**
     * 逻辑删除(-1删除1正常)
     */
    private Integer deleteOption;


}
